package com.fjl.prediction.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fjl.prediction.pojo.SysUser;
import org.springframework.stereotype.Repository;

@Repository
public interface SysUserMapper extends BaseMapper<SysUser> {

    String getNameById(Long id);

    /**
     * 根据用户名查询用户
     * @param username
     * @return
     * <!-- 查询用户的信息以及所有的角色和权限 -->
     */
    SysUser selectByUserName(String username);
}


